<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<!DOCTYPE HTML>
<html>
  <head>
    
    <title>My JSP 'add.jsp' starting page</title>
    
  </head>
  
  <body>
    <div>
    	<h2>增加图书</h2>
    	<form action="add" method="post">
    		<table>
    			<tr>
    				<td>书名</td>
    				<td><input type="text" name="names"/></td>
    			</tr>
    			<tr>
    				<td>作者</td>
    				<td><input type="text" name="author"/></td>
    			</tr>
    			<tr>
    				<td>出版社</td>
    				<td><input type="text" name="publish"/></td>
    			</tr>
    			<tr>
    				<td>出版日期</td>
    				<td><input type="text" name="publishdate"/></td>
    			</tr>
    			<tr>
    				<td>页数</td>
    				<td><input type="text" name="page"/></td>
    			</tr>
    			<tr>
    				<td>价格</td>
    				<td><input type="text" name="price"/></td>
    			</tr>
    			<tr>
    				<td>内容摘要</td>
    				<td><input type="text" name="content"/></td>
    			</tr>
    			<tr><td colspan="7">
    				<input type="submit" value="提交"/>
    				<a href="${pageContext.request.contextPath }/list"><input type="button" value="返回"/></a>
    			</td></tr>
    		</table>
    	</form>
    </div>
  </body>
</html>
